package com.czapl.api;

import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.utils.Array;

public interface ITower {

	public ITower clone();

	public boolean isUnitInRange(IUnit unit);

	public void setAimedUnit(IUnit unit);
	
	public void aimNextUnit(Array<IUnit> units);
	
	public IUnit getAimedUnit();
	
	public float getRange();

	public float getRotationSpeed();
	
	public Vector2 getPosition();

	public void setRotationSpeed(float m_rotationSpeed);

	public void setPosition(float x, float y);
	
	public interface ITowerFromMenuSelectionListener {

		public void onTowerSelected(ITower tower);
		
	}

}
